﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GatherWebLib
{
    //采集日志事件
    public class cGatherTaskLogArgs : EventArgs
    {

        public cGatherTaskLogArgs(string taskName, string strLog, bool isSaveError,cGlobalParas.LogType logType)
        {
         
          TaskName = taskName;
            m_strLog = strLog;
            m_IsSaveErrorLog = isSaveError;
        }
        private cGlobalParas.LogType m_LogType;
        public cGlobalParas.LogType LogType
        {
            get { return m_LogType; }
            set { m_LogType = value; }
        }
        

         private string m_TaskName;
        public string TaskName
        {
            get { return m_TaskName; }
            set { m_TaskName = value; }
        }
        private string m_strLog;
        public string strLog
        {
            get { return m_strLog; }
            set { m_strLog = value; }
        }

        private bool m_IsSaveErrorLog;
        public bool IsSaveErrorLog
        {
            get { return m_IsSaveErrorLog; }
            set { m_IsSaveErrorLog = value; }
        }

       
    }
}
